Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for adding extra vertical spacing between blocks #4296

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

matthillco
Copy link
Contributor

@matthillco matthillco commented Oct 18, 2024

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Two new ways to add extra spacing between blocks:

  • a generalised class for adding a pre-defined responsive bottom margin on any block
  • new options for govspeak blocks to add top and bottom static margins

The numbers to pass to the govspeak margin options are taken from the Design System Spacing guide and range from 0-9. It's currently using the static margins, but this could instead use the responsive margins depending on which works best for this use case: might need design involvement to determine static or responsive.

Why

Blocks for landing pages do not currently match the landing-page designs and need increased breathing space.

Trello

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4296 October 18, 2024 15:12 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants